package com.gaoqian.chatroom.core;

import com.gaoqian.chatroom.model.OnlineUser;

import java.io.IOException;

//I开头代表是接口
//在线用户注册处
public interface IOnlineUserRegistry {
    void online(OnlineUser user) throws IOException;
    void offline(OnlineUser user);
}
